<?php
require_once("class.member.php");
require_once("class.db.jeegoon.php");

function GetMaxNO($Param)
{

	try
	{
		$sh1 = new jeegoon();

		$sql1 = "select max(ID) from member;";
		$result = $sh1->query($sql1);
	        $arr=array();
                $i=0;
                while ($line = mysql_fetch_array($result, MYSQL_BOTH)) {

                        $arr[$i]=$line;
                        $i++;
                }
	        return $arr[0][0] + 1;
	}
	catch(Exception $e)
	{
	     return new soap_falut('client','','SetMember Error!');
	}
}
?>
